﻿@using HouseHoldBudget.App_GlobalResources
@using HouseHoldBudget.Framework.Mvc.Helpers
@model HouseHoldBudget.Models.Account.LogOnModel
@{
    ViewBag.Title = CustomResources.LogOn;
}

@Helpers.Style(Url.Style(StyleCategory.View, "LogOn"))
@*@Helpers.Script(Url.Script(ScriptCategory.JQuery, "jquery.validate.min"))
@Helpers.Script(Url.Script(ScriptCategory.JQuery, "jquery.validate.unobtrusive.min"))*@

@using (Html.BeginForm())
{
    <div id="login-form">
        <fieldset>
            <legend>
                @Helpers.Image(Url.Image("login.png"), CustomResources.LogOn)&nbsp;&nbsp;@CustomResources.LogOn</legend>
            <div>
                @Html.LabelFor(m => m.UserName, CustomResources.Username)
                @Html.TextBoxFor(m => m.UserName)
            </div>
            <div>
                @Html.LabelFor(m => m.Password, CustomResources.Password)
                @Html.PasswordFor(m => m.Password)
            </div>

            @Html.ValidationSummary()
            
            <div>
                <input type="submit" value="@CustomResources.LogOn" class="k-button" />
            </div>
        </fieldset>
    </div>
}